<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="pageContent">
	<form method="post" action="menu/add"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<input type="hidden" name="menuID" value="${obj.menuID}">
			<p>
				<label>父菜单编号：</label> <select name="parentMenuID" class="combox">
					<option value="">--选择父菜单--</option>
					<c:forEach items="${obj.menus}" var="m">
						<option value="${m.menuID}">${m.menuText }</option>
					</c:forEach>
				</select>
			</p>
			<p>
				<label> 菜单名称：</label> <input name="menuText" type="text" size="30"
					value="${obj.menuText}" maxlength="255" class="required" />
			</p>
			<p>
				<label>菜单地址：</label> <input name="menuURL" type="text" size="30"
					value="${obj.menuURL}" maxlength="150" />
			</p>
			<p>
				<label>菜单REL：</label> <input name="menuRel" type="text" size="30"
					value="${obj.menuRel}" maxlength="150" />
			</p>
			<p>
				<label>菜单排序：</label> <input name="menuOrder" type="text"
					value="${obj.menuOrder}" class="required">
			</p>
			<p>
				<label>备 注：</label><input name="roleID" type="text"
					value="${obj.roleID}">
			</p>
			<p>
				<label>状态：</label> <select name="status" class="combox">
					<option value="0">有效</option>
					<option value="1">无效</option>
				</select>
			</p>

		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div></li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
